package com.xu.cloud.auth.pojo.bo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xu.cloud.common.pojo.BaseJackson;
import lombok.Data;

/**
 * OAuth2业务实体类
 *
 * @author xuguan
 * @since 2025/2/26
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OAuth2AccessTokenBO extends BaseJackson {
    private static final long serialVersionUID = 6588785987555131838L;
    @JsonProperty("access_token")
    private String accessToken;
    @JsonProperty("refresh_token")
    private String refresh_token;
    @JsonProperty("token_type")
    private String tokenType;
    @JsonProperty("expires_in")
    private String expiresIn;
    private String scope;
    @JsonProperty("created_at")
    private String createdAt;
}
